package com.kongyz.command;

/**
 * @author kongyz
 * @date 2018/7/2 21:14
 * @Description:
 */
public class BuyStock implements Order {
    private Stock absStock;

    public BuyStock(Stock absStock) {
        this.absStock = absStock;
    }

    public void execute() {
        absStock.buy();
    }
}
